﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TCDMaster.Master" AutoEventWireup="true" CodeBehind="ViewAccount.aspx.cs" Inherits="TraCuuDiemNhom3.demo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <center> <a>Danh Sách Người dùng<br /></a></center>

    <br />
    <br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
        onselectedindexchanged="GridView1_SelectedIndexChanged" CellPadding="4" 
        EnableModelValidation="True" ForeColor="#333333" GridLines="None" 
        Height="195px" Width="515px" >
        <AlternatingRowStyle BackColor="White" />
      <Columns>
          <asp:BoundField DataField="UserName" HeaderText="Tên Đăng Nhập" />   
          <asp:TemplateField HeaderText="Mật khẩu" >
            <ItemTemplate >
                <asp:TextBox id="txtPassWord" Text='<%#Eval("PassWord")%>' Width=25 runat="server" />
            </ItemTemplate>
        </asp:TemplateField>

        <asp:TemplateField HeaderText="Họ Tên">
            <ItemTemplate >
                <asp:TextBox id="txtHoTen" Text='<%#Eval("HoTen")%>' Width=25 runat="server" />
            </ItemTemplate>
        </asp:TemplateField>
            
      <asp:TemplateField HeaderText="Giới Tính">
            <ItemTemplate >
                <asp:TextBox id="txtGioiTinh" Text='<%#Eval("GioiTinh")%>' Width=25 runat="server" />
            </ItemTemplate>
        </asp:TemplateField
         <asp:TemplateField HeaderText="Ngày Sinh">
            <ItemTemplate >
                <asp:TextBox id="txtNgaySinh" Text='<%#Eval("NgaySinh")%>' Width=25 runat="server" />
            </ItemTemplate>
        </asp:TemplateField>

         <asp:TemplateField HeaderText="Chức vụ">
            <ItemTemplate >
                <asp:TextBox id="txtChucVu" Text='<%#Eval("ChucVu")%>' Width=25 runat="server" />
            </ItemTemplate>
        </asp:TemplateField

           <asp:TemplateField HeaderText="Quyền truy cập">
            <ItemTemplate >
                <asp:TextBox id="txtQuyen" Text='<%#Eval("Quyen")%>' Width=25 runat="server" />
            </ItemTemplate>
        </asp:TemplateField>

      </Columns>
        <EditRowStyle BackColor="#7C6F57" />
        <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#E3EAEB" />
        <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
    </asp:GridView>
    <br />
    <br />
    <br />
    <br />
</asp:Content>
